﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AdminCP/Layouts/Admin.Master" AutoEventWireup="true"
    CodeBehind="MyProfile.aspx.cs" Inherits="MLM.AdminCP.Pages.MyProfile" EnableEventValidation="false"
    meta:resourcekey="PageResource2" %>

<%@ Import Namespace="MLM.AdminCP" %>
<%@ Import Namespace="MLM.AdminCP.Class" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        table tr td { padding: 3px; }
        input[type=text] { padding: 3px; border-radius: 3px; border: solid 1px #ccc; width: 200px; }
        input[type=button], input[type=submit] { border: solid 1px #ddd; color: #333; padding: 3px; }
        input[type=button]:hover, input[type=submit]:hover { cursor: pointer; background: #fcf8e5; }
        .line { height: 1px; width: 100%; display: inline-block; border-top: solid 1px #ddd; margin-top: 10px; margin-bottom: 5px; }
        #PrivacyPolicyWrapper { width: 730px; height: 100px; resize: none; border: solid 1px #ccc; overflow: auto; padding: 5px; font-family: "Helvetica Neue" ,Helvetica,Arial,sans-serif; background: #F7F7F9; }
        .ValidationSummary { text-align: left; font-size: 14px; background-color: #F2DEDE; border: solid 1px #EED3D7; color: #B94A48; padding: 10px; margin-bottom: 10px; border-radius: 5px; display: block; }
        .ValidationSummary ul li { list-style-type: square; font-size: 13px; padding: 3px; margin-left: 20px; }
        .SuccessSummary { text-align: left; font-size: 14px; background-color: #DFF0D8; border: solid 1px #D6E9C6; color: #468847; padding: 10px; margin-bottom: 10px; border-radius: 5px; display: block; }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Label ID="lbUserid" runat="server" Text="My Profile" meta:resourcekey="lbUseridResource1"></asp:Label>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" meta:resourcekey="RadAjaxLoadingPanel1Resource1">
    </telerik:RadAjaxLoadingPanel>
    <asp:Panel ID="ListViewPanel1" runat="server" meta:resourcekey="ListViewPanel1Resource1">
        <telerik:RadListView ID="RadListView1" runat="server" ItemPlaceholderID="ProductItemContainer"
            OnItemUpdating="RadListView1_ItemUpdating" DataKeyNames="UserId" AllowPaging="True"
            DataSourceID="GroupUserSettingEds" OnItemDataBound="RadListView1_ItemDataBound"
            meta:resourcekey="RadListView1Resource1">
            <LayoutTemplate>
                <h3>
                    <asp:Label ID="lbUserid" runat="server" Text="Infomation" meta:resourcekey="lbUseridResource2"></asp:Label></h3>
                <table class="tableprofile">
                    <tr>
                        <td>
                            <asp:Panel ID="ProductItemContainer" runat="server" meta:resourcekey="ProductItemContainerResource1">
                            </asp:Panel>
                        </td>
                    </tr>
                </table>
            </LayoutTemplate>
            <ItemTemplate>
                <table class="Table1" cellpadding="5" cellspacing="5">
                    <tr>
                        <td class="tableTitle">
                            <asp:Label ID="lbUserid" runat="server" Text="Your ID:" meta:resourcekey="lbUseridResource3"></asp:Label>
                        </td>
                        <td>
                            <%# Eval("UserId")%>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td class="tableTitle">
                            <asp:Label ID="lbFirstName" runat="server" Text="FirstName:" meta:resourcekey="lbFirstNameResource1"></asp:Label>
                        </td>
                        <td>
                            <%# Eval("FirstName") %>
                        </td>
                        <td class="tableTitle">
                            <asp:Label ID="lbLastName" runat="server" Text="LastName:" meta:resourcekey="lbLastNameResource1"></asp:Label>
                        </td>
                        <td>
                            <%# Eval("LastName")%>
                        </td>
                    </tr>
                    <tr>
                        <td class="tableTitle">
                            <asp:Label ID="lbCountryID" runat="server" Text="Country:" meta:resourcekey="lbCountryIDResource1"></asp:Label>
                        </td>
                        <td>
                            <%# Eval("Country.Name")%>
                        </td>
                        <td class="tableTitle">
                            <asp:Label ID="lbCityID" runat="server" Text="City:" meta:resourcekey="lbCityIDResource1"></asp:Label>
                        </td>
                        <td>
                            <%# Eval("CityName") %>
                        </td>
                    </tr>
                    <tr>
                        <td class="tableTitle">
                            <asp:Label ID="lbSponsorID" runat="server" Text="SponsorID:" meta:resourcekey="lbSponsorIDResource1"></asp:Label>
                        </td>
                        <td>
                            <%# Eval("SponsorID")%>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td class="tableTitle">
                            <asp:Label ID="lbAddress" runat="server" Text="Address:" meta:resourcekey="lbAddressResource1"></asp:Label>
                        </td>
                        <td>
                            <%# Eval("Address")%>
                        </td>
                        <td class="tableTitle">
                            <asp:Label ID="lbPostalCode" runat="server" Text="PostalCode:" meta:resourcekey="lbPostalCodeResource1434343434"></asp:Label>
                        </td>
                        <td>
                            <%# Eval("PostalCode")%>
                        </td>
                    </tr>
                    <tr>
                        <td class="tableTitle">
                            <asp:Label ID="lbRegistrationDate" runat="server" Text="Registration Date:" meta:resourcekey="lbRegistrationDateResource1"></asp:Label>
                        </td>
                        <td>
                            <%# Eval("RegistrationDate")%>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <asp:Button ID="Button1" runat="server" CommandName="Edit" Text="Edit" CausesValidation="False"
                                Visible="False" meta:resourcekey="Button1Resource1"></asp:Button>&nbsp;
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
            <EditItemTemplate>
                <table class="Table1">
                    <tr>
                        <td class="tableTitle">
                            <asp:Label ID="lbUser" runat="server" Text="Your ID:" meta:resourcekey="lbUserResource1"></asp:Label>
                        </td>
                        <td>
                            <telerik:RadTextBox CssClass="radtextbox" ID="RadTextBox1" runat="server" Text='<%# Bind("UserId") %>'
                                Enabled="False" LabelCssClass="" meta:resourcekey="RadTextBox1Resource1">
                            </telerik:RadTextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td class="tableTitle">
                            <asp:Label ID="lbFirstName" runat="server" Text="FirstName:" meta:resourcekey="lbFirstNameResource2"></asp:Label>
                        </td>
                        <td>
                            <telerik:RadTextBox CssClass="radtextbox" ID="RadTextBox3" runat="server" Text='<%# Bind("FirstName") %>'
                                LabelCssClass="" meta:resourcekey="RadTextBox3Resource1">
                            </telerik:RadTextBox>
                        </td>
                        <td class="tableTitle">
                            <asp:Label ID="lbLastName" runat="server" Text="LastName:" meta:resourcekey="lbLastNameResource2"></asp:Label>
                        </td>
                        <td>
                            <telerik:RadTextBox CssClass="radtextbox" ID="RadTextBox4" runat="server" Text='<%# Bind("LastName") %>'
                                LabelCssClass="" meta:resourcekey="RadTextBox4Resource1">
                            </telerik:RadTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tableTitle">
                            <asp:Label ID="lbCountryID" runat="server" Text="CountryID:" meta:resourcekey="lbCountryIDResource2"></asp:Label>
                        </td>
                        <td>
                            <telerik:RadComboBox runat="server" ID="RabCountry" DataTextField="Name" DataValueField="CountryID"
                                OnSelectedIndexChanged="rcbCountry_SelectedIndexChanged" DataSourceID="CountryEds"
                                AutoPostBack="True" EnableLoadOnDemand="True" SelectedValue='<%# Bind("CountryID") %>'
                                meta:resourcekey="RabCountryResource1">
                                <HeaderTemplate>
                                    <ul>
                                        <li style="list-style-type: none" class="col1">
                                            <asp:Label ID="lbCountryID" runat="server" Text="Country" meta:resourcekey="lbCountryIDResource3"></asp:Label></li>
                                    </ul>
                                </HeaderTemplate>
                            </telerik:RadComboBox>
                        </td>
                        <td class="tableTitle">
                            <asp:Label ID="lbCity" runat="server" Text="CityID:" meta:resourcekey="lbCityResource1"></asp:Label>
                        </td>
                        <td>
                            <telerik:RadTextBox CssClass="radtextbox" ID="RadTextBox2" runat="server" Text='<%# Bind("CityName") %>'
                                LabelCssClass="" meta:resourcekey="RadTextBox2Resource1">
                            </telerik:RadTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tableTitle">
                            <asp:Label ID="lbSponsorID" runat="server" Text="SponsorID:" meta:resourcekey="lbSponsorIDResource2"></asp:Label>
                        </td>
                        <td>
                            <telerik:RadTextBox CssClass="radtextbox" ID="RadTextBox5" runat="server" Text='<%# Bind("SponsorID") %>'
                                LabelCssClass="" meta:resourcekey="RadTextBox5Resource1">
                            </telerik:RadTextBox>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td class="tableTitle">
                            <asp:Label ID="lbAddress" runat="server" Text="Address:" meta:resourcekey="lbAddressResource2"></asp:Label>
                        </td>
                        <td>
                            <telerik:RadTextBox CssClass="radtextbox" ID="RadTextBox6" runat="server" Text='<%# Bind("Address") %>'
                                LabelCssClass="" meta:resourcekey="RadTextBox6Resource1">
                            </telerik:RadTextBox>
                        </td>
                        <td class="tableTitle">
                            <asp:Label ID="lbPostalCode" runat="server" Text="PostalCode:" meta:resourcekey="lbPostalCodeResource2"></asp:Label>
                        </td>
                        <td>
                            <telerik:RadTextBox CssClass="radtextbox" ID="RadTextBox7" runat="server" Text='<%# Bind("PostalCode") %>'
                                LabelCssClass="" meta:resourcekey="RadTextBox7Resource1">
                            </telerik:RadTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tableTitle">
                            <asp:Label ID="lbRegistrationDate" runat="server" Text="RegistrationDate:" meta:resourcekey="lbRegistrationDateResource2"></asp:Label>
                        </td>
                        <td>
                            <telerik:RadDatePicker runat="server" ID="RegistrationDateID" Culture="en-US" meta:resourcekey="RegistrationDateIDResource1">
                                <Calendar UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" ViewSelectorText="x">
                                </Calendar>
                                <DateInput DateFormat="M/d/yyyy" DisplayDateFormat="M/d/yyyy" Width="">
                                </DateInput>
                                <DatePopupButton CssClass="" HoverImageUrl="" ImageUrl="" />
                            </telerik:RadDatePicker>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <asp:Button ID="Button2" runat="server" CommandName="Update" Text="Update" meta:resourcekey="Button2Resource1">
                            </asp:Button>
                            <asp:Button ID="Button3" runat="server" CommandName="Cancel" Text="Cancel" CausesValidation="False"
                                meta:resourcekey="Button3Resource1"></asp:Button>
                        </td>
                    </tr>
                </table>
            </EditItemTemplate>
        </telerik:RadListView>
        <asp:EntityDataSource ID="GroupRolesEds" runat="server" ConnectionString="name=MLMDataContext"
            DefaultContainerName="MLMDataContext" EnableDelete="True" EnableFlattening="False"
            EnableInsert="True" EnableUpdate="True" EntitySetName="Roles">
        </asp:EntityDataSource>
        <asp:EntityDataSource ID="GroupUserSettingEds" runat="server" ConnectionString="name=MLMDataContext"
            AutoGenerateWhereClause="True" DefaultContainerName="MLMDataContext" EnableFlattening="False"
            EnableUpdate="True" EnableInsert="True" EnableDelete="True" EntitySetName="Users"
            Include="Country" EntityTypeFilter="User">
            <WhereParameters>
                <asp:ControlParameter Name="UserId" ControlID="CurrentUser" PropertyName="value"
                    Type="Int64" />
            </WhereParameters>
        </asp:EntityDataSource>
        <asp:EntityDataSource ID="CityEds" runat="server" ConnectionString="name=MLMDataContext"
            DefaultContainerName="MLMDataContext" EnableDelete="True" EnableFlattening="False"
            EnableInsert="True" EnableUpdate="True" EntitySetName="Cities">
        </asp:EntityDataSource>
        <asp:EntityDataSource ID="CountryEds" runat="server" ConnectionString="name=MLMDataContext"
            DefaultContainerName="MLMDataContext" EnableDelete="True" EnableFlattening="False"
            EnableInsert="True" EnableUpdate="True" EntitySetName="Countries" EntityTypeFilter="Country">
        </asp:EntityDataSource>
        <telerik:RadListView ID="RadListView2" runat="server" ItemPlaceholderID="ProductItemContainer2"
            DataKeyNames="UserID" AllowPaging="True" DataSourceID="GroupUserInfoEds" Visible="False"
            meta:resourcekey="RadListView2Resource1">
            <LayoutTemplate>
                <fieldset style="width: 870px;" id="FieldSet1">
                    <legend><b>
                        <asp:Label ID="lbAddresssas" runat="server" Text="Additional
                        data:" meta:resourcekey="lbAddresssasResource1"></asp:Label></b></legend>
                    <table class="tableprofile">
                        <tr>
                            <td>
                                <asp:Panel ID="ProductItemContainer2" runat="server" meta:resourcekey="ProductItemContainer2Resource1">
                                </asp:Panel>
                            </td>
                        </tr>
                    </table>
                </fieldset>
            </LayoutTemplate>
            <ItemTemplate>
                <table class="table1">
                    <tr>
                        <td class="righttitle">
                            <asp:Label ID="Label1" runat="server" Text="Mobile:" meta:resourcekey="Label1Resource1"></asp:Label>
                        </td>
                        <td class="profile">
                            <%# Eval("Mobile")%>
                        </td>
                        <td class="righttitle">
                            <asp:Label ID="Label2" runat="server" Text="Email:" meta:resourcekey="Label2Resource1"></asp:Label>
                        </td>
                        <td class="profile">
                            <%# Eval("Email")%>
                        </td>
                    </tr>
                    <tr>
                        <td class="righttitle">
                            <asp:Label ID="Label3" runat="server" Text="Gender:" meta:resourcekey="Label3Resource1"></asp:Label>
                        </td>
                        <td class="profile">
                        </td>
                        <td class="righttitle">
                            <asp:Label ID="Label4" runat="server" Text="DateOfBirth:" meta:resourcekey="Label4Resource1"></asp:Label>
                        </td>
                        <td class="profile">
                            <%# Eval("DateOfBirth")%>
                        </td>
                    </tr>
                    <tr>
                        <td class="righttitle">
                            <asp:Label ID="Label5" runat="server" Text="HomePhone:" meta:resourcekey="Label5Resource1"></asp:Label>
                        </td>
                        <td class="profile">
                            <%# Eval("HomePhone")%>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <asp:Button ID="Button4" runat="server" CommandName="Edit" Text="Edit" CausesValidation="False"
                                meta:resourcekey="Button4Resource1"></asp:Button>&nbsp;
                        </td>
                    </tr>
                </table>
            </ItemTemplate>
            <EditItemTemplate>
                <table class="Table1">
                    <tr>
                        <td class="titlename">
                            <asp:Label ID="Label7" runat="server" Text="Mobile:" meta:resourcekey="Label7Resource1"></asp:Label>
                        </td>
                        <td style="width: 30">
                            <telerik:RadTextBox CssClass="radtextbox" ID="RadMaskedTextBox1" runat="server" Text='<%# Bind("Mobile") %>'
                                LabelCssClass="" meta:resourcekey="RadMaskedTextBox1Resource1">
                            </telerik:RadTextBox>
                        </td>
                        <td class="titlename">
                            <asp:Label ID="Label8" runat="server" Text="HomePhone:" meta:resourcekey="Label8Resource1"></asp:Label>
                        </td>
                        <td>
                            <telerik:RadTextBox CssClass="radtextbox" ID="RadMaskedTextBox2" runat="server" Text='<%# Bind("HomePhone") %>'
                                LabelCssClass="" meta:resourcekey="RadMaskedTextBox2Resource1">
                            </telerik:RadTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="titlename">
                        </td>
                        <td>
                            <asp:CheckBox ID="CheckBox1" runat="server" Checked="True" meta:resourcekey="CheckBox1Resource1">
                            </asp:CheckBox>
                        </td>
                        <td class="titlename">
                        </td>
                        <td>
                            <telerik:RadTextBox CssClass="radtextbox" ID="RadTextBox1" runat="server" Text='<%# Bind("Email") %>'
                                LabelCssClass="" meta:resourcekey="RadTextBox1Resource2">
                            </telerik:RadTextBox>
                            <asp:RegularExpressionValidator ID="emailValidator" runat="server" Display="Dynamic"
                                ErrorMessage="Please, enter valid e-mail address." ValidationExpression="^[\w\.\-]+@[a-zA-Z0-9\-]+(\.[a-zA-Z0-9\-]{1,})*(\.[a-zA-Z]{2,3}){1,2}$"
                                ControlToValidate="RadTextBox1" meta:resourcekey="emailValidatorResource1"></asp:RegularExpressionValidator>
                            <asp:RequiredFieldValidator ID="Requiredfieldvalidator2" runat="server" Display="Dynamic"
                                ControlToValidate="RadTextBox1" ErrorMessage="Please, enter an e-mail!" meta:resourcekey="Requiredfieldvalidator2Resource1"></asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td class="titlename">
                            <asp:Label ID="Label9" runat="server" Text="DateOfBirth:" meta:resourcekey="Label9Resource1"></asp:Label>
                        </td>
                        <td>
                            <telerik:RadDatePicker ID="RadDatePicker1" runat="server" MinDate="1900-01-01" TabIndex="4"
                                Culture="en-US" meta:resourcekey="RadDatePicker1Resource1">
                                <Calendar UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" ViewSelectorText="x">
                                </Calendar>
                                <DateInput DateFormat="M/d/yyyy" DisplayDateFormat="M/d/yyyy" TabIndex="4">
                                </DateInput>
                                <DatePopupButton CssClass="" HoverImageUrl="" ImageUrl="" TabIndex="4" />
                            </telerik:RadDatePicker>
                        </td>
                    </tr>
                    <tr>
                        <td style="padding-bottom: 10; padding-top: 10" colspan="2">
                            <asp:Button ID="Button7" runat="server" CommandName="Update" Text="Update" meta:resourcekey="Button7Resource1">
                            </asp:Button>
                            <asp:Button ID="Button8" runat="server" CommandName="Cancel" Text="Cancel" CausesValidation="False"
                                meta:resourcekey="Button8Resource1"></asp:Button>
                        </td>
                    </tr>
                </table>
            </EditItemTemplate>
        </telerik:RadListView>
        <asp:EntityDataSource ID="GroupUserInfoEds" runat="server" ConnectionString="name=MLMDataContext"
            DefaultContainerName="MLMDataContext" EnableFlattening="False" EntitySetName="UserInfos"
            AutoGenerateWhereClause="True">
            <WhereParameters>
                <asp:ControlParameter Name="UserID" ControlID="CurrentUser" PropertyName="value"
                    Type="Int64" />
            </WhereParameters>
        </asp:EntityDataSource>
        <asp:EntityDataSource ID="GroupCountryEds" runat="server" ConnectionString="name=MLMDataContext"
            DefaultContainerName="MLMDataContext" EnableDelete="True" EnableFlattening="False"
            EnableInsert="True" EnableUpdate="True" EntitySetName="Countries" EntityTypeFilter="Country">
        </asp:EntityDataSource>
        <asp:HiddenField ID="CurrentUser" runat="server" />
    </asp:Panel>
    <h3>
        <asp:Label runat="server" ID="Label6" Text="My Information" meta:resourcekey="lbPaymentInformationResourc443466e1"></asp:Label>
    </h3>
    <div>
        <table>
            <tr>
                <td style="width: 130px;">
                    <asp:Label runat="server" ID="Label18" Text="First name:" meta:resourcekey="firstnameres"></asp:Label>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="MyFirstNameTxt" meta:resourcekey="FirstNameTxtResource1" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="MyFirstNameTxt"
                        Display="None" SetFocusOnError="True" ErrorMessage="First Name is required!"
                        meta:resourcekey="RequiredFieldValidatorResource1"></asp:RequiredFieldValidator>
                </td>
                <td style="width: 130px;">
                    <asp:Label runat="server" ID="Label19" Text="Last name:" meta:resourcekey="lastnamers"></asp:Label>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="MyLastNameTxt" meta:resourcekey="LastNameTxtResource1" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="MyLastNameTxt"
                        Display="None" SetFocusOnError="True" ErrorMessage="Last Name is required!" meta:resourcekey="RequiredFieldValidator1Resource1"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td style="width: 130px;">
                    <asp:Label runat="server" ID="Label17" Text="Home phone:" meta:resourcekey="mobileresource"></asp:Label>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="MyHomephoneTxt" meta:resourcekey="LastNameTxtResource1" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="MyHomephoneTxt"
                        Display="None" SetFocusOnError="True" ErrorMessage="Home phone is required!"
                        meta:resourcekey="RequiredFieldValidator1Resource1"></asp:RequiredFieldValidator>
                </td>
                <td style="width: 130px;">
                    <asp:Label runat="server" ID="lblmymobile" Text="Mobile:" meta:resourcekey="mobileresource"></asp:Label>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="MyMobileTxt" meta:resourcekey="LastNameTxtResource1" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="MyMobileTxt"
                        Display="None" SetFocusOnError="True" ErrorMessage="Mobile is required!" meta:resourcekey="RequiredFieldValidator1Resource1"></asp:RequiredFieldValidator>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td style="width: 130px;">
                    <asp:Label runat="server" ID="Label13" Text="Email:" meta:resourcekey="emailrs"></asp:Label>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="MyEmailTxt" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="MyEmailTxt"
                        Display="None" SetFocusOnError="True" ErrorMessage="Email is required!" meta:resourcekey="RequiredFieldValidator1Resource1"></asp:RequiredFieldValidator>
                </td>
                <td style="width: 130px; display: none;">
                    <asp:Label runat="server" ID="Label12" Text="Address:" meta:resourcekey="addressrs"></asp:Label>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="MyAddressTxt" meta:resourcekey="LastNameTxtResource1"
                        Enabled="False" Visible="false" />
                </td>
            </tr>
        </table>
    </div>
    <h3>
        <asp:Label runat="server" Text="Delivery Address" meta:resourcekey="LabelResource1" /></h3>
    <div>
        <table>
            <tr>
                <td style="width: 130px;">
                    <asp:Label runat="server" ID="Label4" Text="First Name:" meta:resourcekey="lbFirstNameResource1"></asp:Label>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="BillFirstNameTxt" meta:resourcekey="FirstNameTxtResource1" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="BillFirstNameTxt"
                        Display="None" SetFocusOnError="True" ErrorMessage="First Name is required!"
                        meta:resourcekey="RequiredFieldValidatorResource1"></asp:RequiredFieldValidator>
                </td>
                <td style="width: 130px;">
                    <asp:Label runat="server" ID="Label5" Text="Last Name:" meta:resourcekey="lbLastNameResource1"></asp:Label>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="BillLastNameTxt" meta:resourcekey="LastNameTxtResource1" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="BillLastNameTxt"
                        Display="None" SetFocusOnError="True" ErrorMessage="Last Name is required!" meta:resourcekey="RequiredFieldValidator1Resource1"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label runat="server" ID="Label8" Text="Country:" meta:resourcekey="lbCountryResource1"></asp:Label>
                </td>
                <td>
                    <telerik:RadComboBox runat="server" ID="BillCountryDDL" DataTextField="Name" DataValueField="CountryID"
                        DataSourceID="EntityDataSource1" Width="207px" CausesValidation="False" meta:resourcekey="CountryDDLResource1">
                    </telerik:RadComboBox>
                    <asp:EntityDataSource ID="EntityDataSource1" runat="server" ConnectionString="name=MLMDataContext"
                        DefaultContainerName="MLMDataContext" EnableFlattening="False" EntitySetName="Countries"
                        EntityTypeFilter="Country" OrderBy="it.Name" Select="">
                    </asp:EntityDataSource>
                </td>
                <td>
                    <asp:Label runat="server" ID="Label9" Text="City:" meta:resourcekey="lbCityResource1"></asp:Label>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="BillCityTxt" meta:resourcekey="AddressTxtResource1" />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label runat="server" ID="Label10" Text="Address:" meta:resourcekey="lbAddressResource1"></asp:Label>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="BillAddressTxt" meta:resourcekey="AddressTxtResource1" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="BillAddressTxt"
                        Display="None" SetFocusOnError="True" ErrorMessage="Address is required!" meta:resourcekey="RequiredFieldValidator4Resource1"></asp:RequiredFieldValidator>
                </td>
                <td>
                    <asp:Label runat="server" ID="Label11" Text="Postal Code:" meta:resourcekey="lbpostalcodeResource14343"></asp:Label>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="BillPostalCodeTxt" meta:resourcekey="PostalCodeTxtResource1" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="BillPostalCodeTxt"
                        Display="None" SetFocusOnError="True" ErrorMessage="Postal code is required!"
                        meta:resourcekey="RequiredFieldValidator5Resource1"></asp:RequiredFieldValidator>
                </td>
            </tr>
        </table>
        <h3>
            <asp:Label runat="server" ID="lbPaymentInformation" Text="Payment Information" meta:resourcekey="lbPaymentInformationResource1"></asp:Label>
        </h3>
        <table>
            <tr>
                <td style="width: 130px;">
                    <asp:Label runat="server" ID="lbbankaccount" Text="Bank Account Name:" meta:resourcekey="lbbankaccountResource1"></asp:Label>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="BankAccountNameTxt" meta:resourcekey="BankAccountNameTxtResource1" />
                </td>
                <td style="width: 130px;">
                    <asp:Label runat="server" ID="lbBankAccountNumber" Text="Bank Account Number:" meta:resourcekey="lbBankAccountNumberResource1"></asp:Label>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="BankAccountNumberTxt" meta:resourcekey="BankAccountNumberTxtResource1" />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label runat="server" ID="lbBankCode" Text="Bank Code:" meta:resourcekey="lbBankCodeResource1"></asp:Label>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="BankCodeTxt" meta:resourcekey="BankCodeTxtResource1" />
                </td>
                <%-- <td>
                    <asp:Label runat="server" ID="lbAccountID" Text="Account ID:" meta:resourcekey="lbAccountIDResource1"></asp:Label>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="AccountIDTxt" meta:resourcekey="AccountIDTxtResource1" />
                </td>--%>
                <td>
                    <asp:Label runat="server" ID="lbBankName" Text="Bank Name:" meta:resourcekey="lbBankNameResource1"></asp:Label>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="BankNameTxt" meta:resourcekey="BankNameTxtResource1" />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label runat="server" ID="lbSWIFTCode" Text="SWIFTCode:" meta:resourcekey="lbSWIFTCodeResource1"></asp:Label>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="SWIFTCodeTxt" meta:resourcekey="SWIFTCodeTxtResource1" />
                </td>
                <td>
                    <asp:Label runat="server" ID="lbBICCode" Text="BICCode:" meta:resourcekey="lbBICCodeResource1"></asp:Label>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="BICCodeTxt" meta:resourcekey="BICCodeTxtResource1" />
                </td>
            </tr>
            <tr>
                <td>
                    <asp:Label runat="server" ID="lbIBANCode" Text="IBANCode:" meta:resourcekey="lbIBANCodeResource1"></asp:Label>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="IBANCodeTxt" meta:resourcekey="IBANCodeTxtResource1" />
                </td>
            </tr>
            <tr>
                <td colspan="4" style="text-align: center;">
                    <div class="line">
                    </div>
                    <asp:ValidationSummary runat="server" ID="ValidationSummary" HeaderText="Error" CssClass="ValidationSummary"
                        meta:resourcekey="ValidationSummaryResource1" />
                    <asp:Label runat="server" ID="ErrorLtr" CssClass="ValidationSummary" Visible="False"
                        meta:resourcekey="ErrorLtrResource1"></asp:Label>
                    <asp:Label runat="server" ID="SuccessLtr" CssClass="SuccessSummary" Visible="False"
                        meta:resourcekey="SuccessLtrResource1"></asp:Label>
                    <asp:Button runat="server" Text="Save" ID="SaveBtn" meta:resourcekey="SaveBtnResource1">
                    </asp:Button>
                    <asp:Button runat="server" Text="Reset" ID="ResetBtn" CausesValidation="False" meta:resourcekey="ResetBtnResource1">
                    </asp:Button>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
